.address-item,
.address-add {
  margin: 20px 20px 0 0;
  width: 200px;
  padding: 5px 8px;
  float: left;
  border: 3px dashed #ccc;
  cursor: pointer;
}
.address-item.active {
  border: 3px dashed #c60023;
}

.address-item:hover,
.address-add:hover {
  background: #fafafa;
}

.address-item .address-title {
  padding-bottom: 3px;
  height: 20px;
  line-height: 20px;
  font-size: 12px;
  overflow: hidden;
  border-bottom: 1px solid #ddd;
}

.address-item .address-detail {
  margin-top: 5px;
  height: 40px;
  line-height: 20px;
  font-size: 12px;

  overflow: hidden;
  color: #666;
}

.address-item .address-opera {
  visibility: hidden;
  text-align: right;
}
.address-item:hover .address-opera {
  visibility: visible;
}
.address-item .address-opera .link {
  margin-right: 5px;
}
.address-add .address-new {
  padding: 12px 0;
  text-align: center;
  color: #ccc;
}
.address-add .address-new .fa {
  font-size: 50px;
  line-height: 50px;
}

.address-add .address-new .text {
  font-size: 12px;
}

/* 商品清单部分 */
.product-table {
  width: 100%;
  margin: 10px 0;
  border-collapse: collapse;
}
.product-table th,
.product-table td {
  border-bottom: 1px dotted #ddd;
}
.product-table .cell-img {
  padding: 10px;
  width: 10%;
  text-align: center;
}
.product-table .cell-img .p-img{
  width: 80px;
  height: 80px;
  border: 1px solid #ddd;
}
.product-table .cell-info {
  width: 30%;
  text-align: left;
}
.product-table .cell-price {
  width: 20%;
  text-align: center;
}
.product-table .cell-count {
  width: 20%;
  text-align: center;
}
.product-table .cell-total {
  width: 20%;
  text-align: center;
}

/*订单提交  */
.submit-con {
  background: #eee;
  text-align: right;
}
.submit-con .submit-total {
  margin-right: 20px;
  font-size: 18px;
  font-weight: bold;
  color: #c60023;
  vertical-align: middle;
}
.submit-con .order-submit {
  height: 50px;
  line-height: 50px;
  width: 100px;
  text-align: center;
}
.err-tip {
  height: 60px;
  line-height: 60px;
  color: #f60;
  font-weight: bold;
  text-align: center;
  background: #eee;
}

/*modal部分  */
.modal {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  overflow-x: hidden;
  overflow-y: auto;
  background: #eee;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1000;
}
.modal .modal-con {
  width: 700px;
  margin: 50px auto;
  background: #fff;
  border-radius: 2px;
}
.modal .modal-con .modal-header {
  position: relative;
  padding: 15px;
  border-bottom: 1px solid #ccc;
}
.modal .modal-con .modal-header .modal-title {
  font-size: 14px;
}
.modal .modal-con .modal-header .close {
  position: absolute;
  padding: 10px;
  right: 10px;
  top: 10px;
  cursor: pointer;
}
.modal .modal-con .modal-body {
  padding: 15px;
}
/*form样式  */

.form .form-line {
  margin: 5px 0;
  overflow: hidden;
}
.form .form-line .label {
  display: block;
  float: left;
  width: 80px;
  font-size: 14px;
  text-align: right;
  height: 30px;
  line-height: 30px;
  margin-right: 10px;
  cursor: pointer;
}
.form .form-line .form-item {
  padding: 0 5px;
  height: 30px;
  line-height: 30px;
  outline: none;
  margin-right: 10px;
}

.form .form-line .address-btn {
  margin-left: 90px;
  height: 30px;
  line-height: 30px;
}
.form .form-line .required {
  color: red;
}